package ch.ti.bfh.app.loodel.web.model;


import ch.ti.bfh.app.loodel.service.vote.AllMembersTimeSlotVotesData;
import ch.ti.bfh.app.loodel.service.vote.LearningEventVoteData;
import org.primefaces.model.ScheduleModel;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

import java.util.Date;
import java.util.List;

@Component
@Scope("view")
public class LearningEventVoteModel {

    private String learningEventId;

    private LearningEventVoteData learningEventVoteData;

    private ScheduleModel scheduleModel;

    private Date initialDate;


    private List<AllMembersTimeSlotVotesData> allMembersTimeSlotVotesDataList;

    public LearningEventVoteModel() {
    }

    public String getLearningEventId() {
        return learningEventId;
    }

    public void setLearningEventId(String learningEventId) {
        this.learningEventId = learningEventId;
    }

    public LearningEventVoteData getLearningEventVoteData() {
        return learningEventVoteData;
    }

    public void setLearningEventVoteData(LearningEventVoteData learningEventVoteData) {
        this.learningEventVoteData = learningEventVoteData;
    }

    public ScheduleModel getScheduleModel() {
        return scheduleModel;
    }

    public void setScheduleModel(ScheduleModel scheduleModel) {
        this.scheduleModel = scheduleModel;
    }

    public Date getInitialDate() {
        return initialDate;
    }

    public void setInitialDate(Date initialDate) {
        this.initialDate = initialDate;
    }

    public List<AllMembersTimeSlotVotesData> getAllMembersTimeSlotVotesDataList() {
        return allMembersTimeSlotVotesDataList;
    }

    public void setAllMembersTimeSlotVotesDataList(List<AllMembersTimeSlotVotesData> allMembersTimeSlotVotesDataList) {
        this.allMembersTimeSlotVotesDataList = allMembersTimeSlotVotesDataList;
    }
}
